package cz.proks.bank.service.domain;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(namespace = "http://bank.proks.cz/service/ScoreService/")
@XmlAccessorType(XmlAccessType.FIELD)
public class ScoreRequest {
	@XmlElement(required = true)
	private long availableMoney;
	
	@XmlElement(required = true)
	private long requestedLoan;
	
	@XmlElement(required = true)
	private long totalLoans;

	public long getAvailableMoney() {
		return availableMoney;
	}

	public void setAvailableMoney(long availableMoney) {
		this.availableMoney = availableMoney;
	}

	public long getRequestedLoan() {
		return requestedLoan;
	}

	public void setRequestedLoan(long requestedLoan) {
		this.requestedLoan = requestedLoan;
	}

	public long getTotalLoans() {
		return totalLoans;
	}

	public void setTotalLoans(long totalLoans) {
		this.totalLoans = totalLoans;
	}	
}
